#include "StdAfx.h"
#include "UIagent.h"
void UIagent::Send()
{
	::SendMessage(m_hwnd, TWM_DOUI,0, (long)this);
}

UIagent::UIagent(HWND _hwnd)
{
	m_hwnd = _hwnd;
	m_frm = (TFormBase*)::GetWindowLongPtr(m_hwnd, GWLP_USERDATA);
	m_pm = m_frm->GetPM();

}

UIagent::~UIagent()
{
}
